<?php

use yii\db\Migration;

class m180528_033940_rename_customer_recharge extends Migration
{
    public function safeUp()
    {
        $this->renameColumn('{{%customer_recharge}}','cerated_at','created_at');
    }

    public function safeDown()
    {
        $this->renameColumn('{{%customer_recharge}}','created_at','cerated_at');
    }

    /*
    // Use up()/down() to run migration code without a transaction.
    public function up()
    {

    }

    public function down()
    {
        echo "m180528_033940_rename_customer_recharge cannot be reverted.\n";

        return false;
    }
    */
}
